package com.cheva.provider.service;

import com.cheva.api.ITestService;
import com.cheval.rpcframe.register.Provide;

@Provide(interfaceName = "ITestService")
public class TestSeriveImpl implements ITestService {
    @Override
    public String test1(String name) {
        return "hello " + name;
    }

    @Override
    public String test1(String name, int age) {
        return name + ":" + age;
    }

    @Override
    public int test2(int a, int b) {
        return a + b;
    }
}
